<template>
  <div>
    <p>{{ count }}</p>
    <button @click="add">add</button>
  </div>
</template>
<script setup lang="ts">
import { ref } from 'vue'
const count = ref(0)
function add() {
  count.value = count.value + 1
}
</script>
